package com.dyw.springbootpersonal.mapper;

import com.dyw.springbootpersonal.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Devil
 * @create 2022-01-29-19:56
 */
@Mapper
public interface CommentMapper {
    @Select("select * from comment order by comment_id")
    List<Comment> getAll();
}
